﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MyWeb.Data;
using System.Data;

namespace MyWeb.Business
{
    public class SupportService
    {
        public static SupportController db = new SupportController();

        #region[Support_Insert]
        public void Support_Insert(SupportInfo data)
        {
            db.Support_Insert(data);
        }
        #endregion

        #region[Support_Update]
        public void Support_Update(SupportInfo data)
        {
            db.Support_Update(data);
        }
        #endregion

        #region[Support_Delete]
        public void Support_Delete(string Id)
        {
            db.Support_Delete(Id);
        }
        #endregion

        #region[Support_GetByAll]
        public DataTable Support_GetByAll()
        {
            return db.Support_GetByAll();
        }
        #endregion

        #region[Support_GetById]
        public DataTable Support_GetById(string Id)
        {
            return db.Support_GetById(Id);
        }
        #endregion

        #region[Support_GetByTop]
        public DataTable Support_GetByTop(string Top, string Where, string Order)
        {
            return db.Support_GetByTop(Top, Where, Order);
        }
        #endregion
    }
}
